﻿using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
using System.Net;

namespace SocketLib
{
	public class Connection
	{

		public Socket ClientSocket { get; set; }
		public string ConnectionName { get; set; }
		public DateTime LastActiveTime { get; set; }

		public Connection(Socket clientSocket, string connectionName)
		{
			this.ClientSocket = clientSocket;
			this.ConnectionName = connectionName;
		}


		public Connection(Socket clientSocket)
			: this(clientSocket, string.Empty)
		{

		}



	}
}
